#ifndef _io_h
#define _io_h

/* sekiOS
 *
 * io.h - Inport/Outport helper prototypes
 *
 */

extern unsigned char inportb (unsigned short port);
extern unsigned short inportw (unsigned short port);
extern unsigned long inportl (unsigned short port);
extern void inportsw (unsigned short port, void *buffer, int count);
extern void inportsl (unsigned short port, void *buffer, int count);

extern void outportb (unsigned short port, unsigned char data);
extern void outportw (unsigned short port, unsigned short data);
extern void outportl (unsigned short port, unsigned long data);
extern void outportsw (unsigned short port, void *buffer, int count);
extern void outportsl (unsigned short port, void *buffer, int count);

#endif
